Skip to content

chore: unify build setup and clean warnings#13

Merged
Haerbin23456 merged 2 commits intodevfrom
chore/build-warning-benchmark-cleanup
Mar 5, 2026
Merged

chore: unify build setup and clean warnings#13
Haerbin23456 merged 2 commits intodevfrom
chore/build-warning-benchmark-cleanup

Conversation

@Haerbin23456
Copy link
Owner

关联 Issue

变更摘要

  • 清理 VSCode 残留配置(旧 ShellBenchmark 引用)并修正默认解决方案: settings.json tasks.json launch.json
  • 修复 .gitignore 中无效的 VSCode 反忽略写法(之前 ! 后有空格导致规则失效): .gitignore
  • 移除未使用 BenchmarkSuite1 (从 solution 移除并删除项目文件): ContextMenuProfiler.sln
  • 加固构建与重部署脚本(VS 探测、fail-fast、逐步错误检查、注入前产物校验): build_hook.bat redeploy.bat
  • CI 构建入口改为 solution 级别,避免入口不一致: build.yml
  • 处理了项目里主要的 Nullable/空值告警(Warning 级别),涉及这些文件:
    • DashboardViewModel.cs
    • MainWindow.xaml.cs
    • ExtensionManager.cs
    • SmoothScrollingHelper.cs
    • LogService.cs
    • PackageScanner.cs
    • IconToImageConverter.cs
    • RegistryScanner.cs

验证

  • scripts\build_hook.bat :通过
  • dotnet build ContextMenuProfiler.sln -c Debug :通过
  • dotnet build ContextMenuProfiler.sln -c Release :通过
  • IDE 诊断: 无 Warning (还剩 Info/Hint 建议项,属于风格/优化类,不影响编译通过)

检查清单

  • 仅包含本 PR 相关改动
  • 提交信息清晰

@Haerbin23456 Haerbin23456 merged commit e279823 into dev Mar 5, 2026
1 check passed
@Haerbin23456 Haerbin23456 deleted the chore/build-warning-benchmark-cleanup branch March 5, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant